package com.ruoyi.stock2.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 交易预测对象 FORETELL_RESULT
 * 
 * @author ruoyi
 * @date 2020-04-09
 */
public class ForetellResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 日期 */
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datetime;

    /** 代码 */
    @Excel(name = "代码")
    private String symbol;

    /** 股票名称 */
    @Excel(name = "股票名称")
    private String name;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelName;

    /** 交易时间 */
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessTime;

    /** 操作买卖价位 */
    @Excel(name = "操作买卖价位")
    private BigDecimal businessPrice;

    /** 买卖方向 */
    @Excel(name = "买卖方向")
    private String direction;

    /** 近三天交易量与五日均值比重 */
    @Excel(name = "近三天交易量与五日均值比重")
    private BigDecimal volumeIndex;

    /** 行业板块 */
    @Excel(name = "行业板块")
    private String industry;

    /** 概念 */
    @Excel(name = "概念")
    private String concept;

    /** 备注1 */
    @Excel(name = "备注1")
    private String remarks1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String remarks2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDatetime(Date datetime) 
    {
        this.datetime = datetime;
    }

    public Date getDatetime() 
    {
        return datetime;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setBusinessTime(Date businessTime) 
    {
        this.businessTime = businessTime;
    }

    public Date getBusinessTime() 
    {
        return businessTime;
    }
    public void setBusinessPrice(BigDecimal businessPrice) 
    {
        this.businessPrice = businessPrice;
    }

    public BigDecimal getBusinessPrice() 
    {
        return businessPrice;
    }
    public void setDirection(String direction) 
    {
        this.direction = direction;
    }

    public String getDirection() 
    {
        return direction;
    }
    public void setVolumeIndex(BigDecimal volumeIndex) 
    {
        this.volumeIndex = volumeIndex;
    }

    public BigDecimal getVolumeIndex() 
    {
        return volumeIndex;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }
    public void setConcept(String concept) 
    {
        this.concept = concept;
    }

    public String getConcept() 
    {
        return concept;
    }
    public void setRemarks1(String remarks1) 
    {
        this.remarks1 = remarks1;
    }

    public String getRemarks1() 
    {
        return remarks1;
    }
    public void setRemarks2(String remarks2) 
    {
        this.remarks2 = remarks2;
    }

    public String getRemarks2() 
    {
        return remarks2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("datetime", getDatetime())
            .append("symbol", getSymbol())
            .append("name", getName())
            .append("modelName", getModelName())
            .append("businessTime", getBusinessTime())
            .append("businessPrice", getBusinessPrice())
            .append("direction", getDirection())
            .append("volumeIndex", getVolumeIndex())
            .append("industry", getIndustry())
            .append("concept", getConcept())
            .append("remarks1", getRemarks1())
            .append("remarks2", getRemarks2())
            .toString();
    }
}
